package com.ckerchina.admin.ckadmin.service.sms.dto;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class SmsStatusReport implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 短信接收时间或语音验证码通话开始时间 */
	private Date time; 

	/** 发送返回的流水号 */
	private String flowNo;

	/** 发送报告状态 */
	private String status;

	/** 语音验证码通话结束时间 */
	private Date endTime;

	private String holdTime;

	public SmsStatusReport() {
		super();
	}

	public SmsStatusReport(Date time, String flowNo, String status) {
		super();
		this.time = time;
		this.flowNo = flowNo;
		this.status = status;
	}

	public SmsStatusReport(Date time, String flowNo, String status, Date endTime, String holdTime) {
		super();
		this.time = time;
		this.flowNo = flowNo;
		this.status = status;
		this.endTime = endTime;
		this.holdTime = holdTime;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getFlowNo() {
		return flowNo;
	}

	public void setFlowNo(String flowNo) {
		this.flowNo = flowNo;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getHoldTime() {
		return holdTime;
	}

	public void setHoldTime(String holdTime) {
		this.holdTime = holdTime;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}

}
